docker swarm
命令手册A container orchestration tool. More information: https://docs.docker.com/engine/swarm/.
docker swarm init
docker swarm join-token {{worker|manager}}
docker swarm join --token {{token}} {{manager_node_url:2377}}
docker swarm leave
docker swarm ca
docker swarm ca --rotate
docker swarm update --cert-expiry {{hours}}h{{minutes}}m{{seconds}}s